package com.example.caorl;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class XmlKlass {

    private Student student1;

    private Student student2;

    private Student student3;

    public void print() {
        student1.print();
        student2.print();
        student3.print();
    }

}
